package c.x.jy.service.service;

import c.x.jy.common.utils.PageUtils;
import c.x.jy.dao.dto.ServiceEntityDto;
import c.x.jy.dao.entity.TeacherServiceEntity;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * 大师高级项目配置表
 *
 * @author amwhyh
 * @email xxx@xx.com
 * @date 2021-05-24 10:50:04
 */
public interface TeacherServiceService extends IService<TeacherServiceEntity> {

    PageUtils queryPage(Map<String, Object> params);
    
  List<TeacherServiceEntity>   selectAllListBymemberId(Long memberId);
  /**
   * 所有服务
   * @param memberId
   * @return
   */
  List<ServiceEntityDto>   selectServiceBymemberId(Long memberId);
  
  /**
   * 所有服务
   * @param teacherId
   * @return
   */
  List<ServiceEntityDto>   selectServiceByTeacherId(Long teacherId);

  /**
   *
   * @param itemId
   * @return
   */
  ServiceEntityDto selectServiceInfoById(Long itemId);

    List<TeacherServiceEntity> getByTeacherId(Long id);

  int updateServiceList(List<TeacherServiceEntity> services);

TeacherServiceEntity selectTezcherServiceForUpdate(Long itemId);


    PageUtils listforweb(Map<String, Object> params);

    String getTeacherMiniPrice(Long teacherId);
}


